//
//  OMGoodOneColumnLayout.m
//  OMENGO_NEW
//
//  Created by 梁尚嘉 on 2017/4/25.
//  Copyright © 2017年 Kamfat. All rights reserved.
//

#import "OMGoodOneColumnLayout.h"
#import "MainConfigure.h"
@implementation OMGoodOneColumnLayout
- (instancetype)init
{
    self = [super init];
    [self configure];
    return self;
}

-(void)configure
{
    self.minimumInteritemSpacing = 0;
    self.minimumLineSpacing = 0;
    CGFloat item_width = SM_SCREEN_WIDTH;
    CGFloat item_height = item_width*3/10.f;
    self.itemSize = CGSizeMake(item_width, item_height);
    self.sectionInset = UIEdgeInsetsMake(0, 0, 0, 0);
    self.headerReferenceSize = CGSizeZero;
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
}
@end
